using UnityEditor;
using UnityEngine;

namespace Gameplay.PVE.Editor
{
    [CustomEditor(typeof(ModelScaleModifier))]
    public class ModelScaleModifierEditor : UnityEditor.Editor
    {
        private ModelScaleModifier modifier { get {  return target  as ModelScaleModifier; } }

        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            if (GUILayout.Button("Refresh"))
            {
                modifier.Refresh();
            }
        }
    }
}